import 'package:demo_flutter_learn/pages/home_page.dart';
import 'package:demo_flutter_learn/pages/login_page.dart';
import 'package:demo_flutter_learn/pages/profile_page.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
        useMaterial3: true,
      ),
      home: const HomePages(title: 'Flutter Demo Home Page'),
      routes: {
        "HomePages": (context) =>
            const HomePages(title: 'Flutter Demo Home Page'),
        "ProfilePages": (context) => ProfilePages(),
        "LoginPages": (context) => const LoginPages()
      },
    );
  }
}
